package com.qf.dao;

import com.qf.entity.Credit_Card;
import com.qf.entity.User;

import java.util.List;

public interface Credit_CardDao {

    /*
           查询信用卡所有信息
     */
    List<Credit_Card> selectCCAll();

    User selectUIDrByRegister(String name, String num, String phone);

    int insertCC(Credit_Card card);

    Credit_Card selectCCByID(String id);

    List<Credit_Card> selectCCByUID(String uid);

    int updateAmount(Double num, String id);

    int jiaqian(double num, String cid);

    int updateRepaymentByID(double repayment, String cid);
}
